<template>
    <div class="exam-list">
        <el-table :data="questionList" :border="true" with="100%">
            <el-table-column prop="No" label="序号" width="80"/>
            <el-table-column prop="questionName" label="面试题名称" width="240"/>
            <el-table-column prop="examEncouterRate" label="概率星数" width="80"/>
            <el-table-column prop="examDifficultStar" label="难度星数" width="80"/>
            <el-table-column prop="updateTime" label="更新时间" width="320"/>
        </el-table>
    </div>
</template>
<script setup>
  import {reactive} from 'vue'
  const questionList = reactive([
    {  
        No: 1,
        questionName: '面相对象有哪些特征?',
        questionCate: 'Java基础',
        examEncouterRate: 3,
        examDifficultStar: 2,
        updateTime: '2023-02-13 11:00:00'
    },
    {
        No: 2,
        questionName: 'JDK 与 JRE 的区别是什么?',
        questionCate: 'Java基础',
        examEncouterRate: 3,
        examDifficultStar: 2,
        updateTime: '2023-02-13 11:00:00'
    },
    {
        No: 3,
        questionName: 'Java 有哪几种基本数据类型?',
        questionCate: 'Java基础',
        examEncouterRate: 3,
        examDifficultStar: 1,
        updateTime: '2023-02-13 11:00:00'
    },
    {
        No: 4,
        questionName: '== 和 equals 比较有什么区别?',
        questionCate: 'Java基础',
        examEncouterRate: 3,
        examDifficultStar: 1,
        updateTime: '2023-02-13 11:00:00'
    },
    {
        No: 5,
        questionName: '怎么理解值传递和引用传递?',
        questionCate: 'Java基础',
        examEncouterRate: 2,
        examDifficultStar: 1,
        updateTime: '2023-02-13 11:00:00'
    },
    {
        No: 6,
        questionName: 'Java 到底是值传递还是引用传递?',
        questionCate: 'Java基础',
        examEncouterRate: 2,
        examDifficultStar: 3,
        updateTime: '2023-02-13 11:00:00'
    },
    {
        No: 7,
        questionName: 'Error 和 Exception 有什么区别?',
        questionCate: 'Java基础',
        examEncouterRate: 3,
        examDifficultStar: 2,
        updateTime: '2023-02-13 11:00:00'
    },
    {
        No: 8,
        questionName: 'Java 中常见的异常有哪些?',
        questionCate: 'Java基础',
        examEncouterRate: 3,
        examDifficultStar: 2,
        updateTime: '2023-02-13 11:00:00'
    },
    {
        No: 9,
        questionName: 'Java 中常见的运行时异常有哪些?',
        questionCate: 'Java基础',
        examEncouterRate: 3,
        examDifficultStar: 2,
        updateTime: '2023-02-13 11:00:00'
    },
    {
        No: 10,
        questionName: 'throw 和 throws 的区别?',
        questionCate: 'Java基础',
        examEncouterRate: 3,
        examDifficultStar: 1,
        updateTime: '2023-02-13 11:00:00'
    },
    {
        No: 11,
        questionName: 'StrigBuider 和 StringBuffer 的区别?',
        questionCate: 'Java基础',
        examEncouterRate: 3,
        examDifficultStar: 2,
        updateTime: '2023-02-13 11:00:00'
    },
    {
        No: 12,
        questionName: '常见的集合有哪些?',
        questionCate: 'Java集合',
        examEncouterRate: 3,
        examDifficultStar: 2,
        updateTime: '2023-02-13 11:00:00'
    },
    {
        No: 13,
        questionName: '常见的并发集合有哪些?',
        questionCate: 'Java集合',
        examEncouterRate: 3,
        examDifficultStar: 3,
        updateTime: '2023-02-13 11:00:00'
    },
    {
        No: 14,
        questionName: '集合使用泛型有什么优点?',
        questionCate: 'Java集合',
        examEncouterRate: 3,
        examDifficultStar: 3,
        updateTime: '2023-02-13 11:00:00'
    },
    {
        No: 15,
        questionName: '哪些集合可对元素进行随机访问?',
        questionCate: 'Java集合',
        examEncouterRate: 1,
        examDifficultStar: 4,
        updateTime: '2023-02-13 11:00:00'
    }
  ])
</script>